home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
pcboard
/
genmail.zip
/
GENMAIL.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-12-01
|
2KB
|
179 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.3O (Encryption type II) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Boolean BOOLEAN001
Boolean BOOLEAN002
Boolean BOOLEAN003
Date DATE001
Integer INTEGER001
Integer INTEGER002
Integer INTEGER003
Integer INTEGER004
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
;------------------------------------------------------------------------------
Goto LABEL004
End
STRING001 = ReplaceStr(STRING001, "#NAME#", U_Name())
STRING001 = ReplaceStr(STRING001, "#CITY#", U_City)
STRING002 = STRING001
EndFunc
BOOLEAN001 = 0
STRING004 = ""
:LABEL001
If (BOOLEAN001) Goto LABEL003
FGet 0, STRING004
If (Ferr(0)) Then
BOOLEAN001 = 1
Else
If ((Trim(STRING004, " ") == "") || (Left(STRING004, 1) == ";")) Goto LABEL002
Goto LABEL003
:LABEL002
Goto LABEL001
Endif
:LABEL003
If (BOOLEAN001 == 1) STRING004 = ""
STRING003 = STRING004
EndFunc
INTEGER002 = 400
STRING006 = ""
STRING007 = ReadLine(PCBDat(), 29)
INTEGER001 = FNext()
FOpen INTEGER001, STRING007, 2, 0
FSeek INTEGER001, INTEGER002 * 0, 0
FRead INTEGER001, STRING006, 25
FClose INTEGER001
STRING005 = Trim(STRING006, " ")
EndFunc
:LABEL004
For INTEGER003 = 1 To 10
ConfFlag INTEGER003, 16
Next
INTEGER004 = CurConf()
STRING008 = ""
STRING011 = "R"
DATE001 = Date() + 3
BOOLEAN002 = 0
BOOLEAN003 = 0
STRING012 = PPEPath() + PPEName() + ".MSG"
If (Exist(PPEPath() + PPEName() + ".DAT")) Then
STRING009 = ReadLine(PPEPath() + PPEName() + ".DAT", 1)
STRING010 = ReadLine(PPEPath() + PPEName() + ".DAT", 2)
Else
SPrintLn PPEName() + ".DAT not found.ERROR"
Log 0, PPEName() + ".DAT not found ERROR"
Stop
Endif
Message INTEGER004, STRING008, STRING009, STRING010, STRING011, DATE001, BOOLEAN002, BOOLEAN003, STRING012
End
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 11 Goto
; 24 Let
; 6 If
; 1 ConfFlag
; 1 FOpen
; 1 FClose
; 1 FGet
; 1 Log
; 1 Stop
; 1 Message
; 1 SPrintLn
; 1 FSeek
; 1 FRead
; 3 EndFunc
;
;
; ■ Functions used :
;
; 1 *
; 12 +
; 3 ==
; 1 <
; 1 <=
; 2 >=
; 4 !
; 2 &&
; 2 ||
; 1 Left()
; 1 Ferr()
; 2 Trim()
; 1 Date()
; 1 U_Name()
; 1 CurConf()
; 1 PCBDat()
; 4 PPEPath()
; 3 ReadLine()
; 1 Exist()
; 6 PPEName()
; 2 ReplaceStr()
; 1 FNext()
;
;------------------------------------------------------------------------------
;
; Analysis flags : Fd
;
; F - Change conference flags status ■ 2
; This may be normal for a SELECT replacement but it may also be
; a way to get access to conferences a user is not allowed to.
; ■ Search for : CONFFLAG, CONFUNFLAG
;
; d - Access PCBOARD.DAT ■ 2
; Program gets the full pathname to PCBOARD.DAT, this may be usefull
; for many PPE so they can find various informations on the system
; (system paths, max number of lines in messages, ...) but it may also
; be a way to gather vital informations.
; ■ Search for : PCBDAT()
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 1 For/Next
; 0 While/EndWhile
; 2 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------